/**
 * 
 */
package example.business.api.conf;

import com.vanstone.common.lang.BaseEnum;

/**
 * @author shipeng
 *
 */
public enum ConfKey implements BaseEnum<String> {

  SMS_Username("短信用户名", KeyGroup.SMS_Conf);

  private String desc;
  private KeyGroup keyGroup;

  private ConfKey(String desc, KeyGroup keyGroup) {
    this.desc = desc;
    this.keyGroup = keyGroup;
  }

  @Override
  public String getCode() {
    return this.toString();
  }

  @Override
  public String getDesc() {
    return this.desc;
  }

  public KeyGroup getKeyGroup() {
    return keyGroup;
  }

}
